package org.jeecg.modules.veterans.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 退役军人信息表
 * @Author: jeecg-boot
 * @Date:   2022-03-27
 * @Version: V1.0
 */
@ApiModel(value="sys_veterans对象", description="退役军人信息表")
@Data
@TableName("sys_veterans")
public class SysVeterans implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String name;
	/**户籍所在地*/
	@Excel(name = "户籍所在地", width = 15)
    @ApiModelProperty(value = "户籍所在地")
    private java.lang.String jiguan;
	/**出生年月*/
	@Excel(name = "出生年月", width = 15)
    @ApiModelProperty(value = "出生年月")
    private java.util.Date birth;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "sex")
    @Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private java.lang.String sex;
	/**年龄*/
	@Excel(name = "年龄", width = 15)
    @ApiModelProperty(value = "年龄")
    private java.lang.Integer age;
	/**证件类型*/
	@Excel(name = "证件类型", width = 15, dicCode = "card_type")
    @Dict(dicCode = "card_type")
    @ApiModelProperty(value = "证件类型")
    private java.lang.String zjlx;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private java.lang.String sfzh;
	/**优待证号码*/
	@Excel(name = "优待证号", width = 15)
    @ApiModelProperty(value = "优待证号码")
    private java.lang.String ydzh;
	/**政治面貌*/
	//@Excel(name = "政治面貌", width = 15, dicCode = "sys_zzmm")
    @Dict(dicCode = "sys_zzmm")
    @ApiModelProperty(value = "政治面貌")
    private java.lang.String zzmm;
	/**退役军人类型*/
	@Excel(name = "退役军人类型", width = 15, dicCode = "sys_tyjrlx")
    @Dict(dicCode = "sys_tyjrlx")
    @ApiModelProperty(value = "退役军人类型")
    private java.lang.String tyjrlx;
	/**优抚类型*/
	//@Excel(name = "优抚类型", width = 15, dicCode = "sys_yflx")
    @Dict(dicCode = "sys_yflx")
    @ApiModelProperty(value = "优抚类型")
    private java.lang.String yflx;
	/**入伍时间*/
	//@Excel(name = "入伍时间", width = 15)
    @ApiModelProperty(value = "入伍时间")
    private java.util.Date rwsj;
	/**退伍时间*/
	//@Excel(name = "退伍时间", width = 15)
    @ApiModelProperty(value = "退伍时间")
    private java.util.Date twsj;
	/**联系方式*/
	@Excel(name = "联系方式", width = 15)
    @ApiModelProperty(value = "联系方式")
    private java.lang.String lxfs;
	/**家庭住址*/
	//@Excel(name = "家庭住址", width = 15)
    @ApiModelProperty(value = "家庭住址")
    private java.lang.String jtzz;
	/**安置地*/
	//@Excel(name = "安置地", width = 15)
    @ApiModelProperty(value = "安置地")
    private java.lang.String azd;
	/**头像*/
	//@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private java.lang.String avtar;
	/**用户ID*/
	//@Excel(name = "用户ID", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "用户ID")
    private java.lang.String userid;
    /**状态*/
    //@Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
    /**状态*/
    @Excel(name = "优待证状态", width = 10)
    @ApiModelProperty(value = "优待证状态")
    @TableField(exist = false)
    private java.lang.String cardStatus;
}
